﻿/**
* @description	Interface for classes that will use the StyleManager to be styled (colored).
*/
package com.foed.graphic {

	import com.foed.IDescribable;

	public interface IStyleable extends IDescribable {

		/**
		* @description	Returns styleFormat instance applied to component.
		*
		* @returns  Instance of StyleFormat applied to component.
		*/
		function getStyleFormat():StyleFormat;

		/**
		* @description	Sets the styleFormat instance to apply to component.
		*
		* @param  pFormat  Instance of StyleFormat to apply to component.
		*/
		function setStyleFormat(pFormat:StyleFormat):void;
		
		/**
		* @description	Returns the name of the style format to be used for the component.
		*
		* @returns  String reference for styleFormat instance.
		*/
		function getStyleFormatName():String;
		
		/**
		* @description	Sets the name of the style format to be used for the component.
		*
		* @param  pName  String reference for styleFormat instance.
		*/
		function setStyleFormatName(pName:String):void;

		/**
		* @description	Removes the StyleFormat instance reference from the instance.
		*/
		function clearStyleFormat():void;

	}
	
}